package com.znf4.permission.server;

import java.util.List;
import java.util.Map;

import com.znf4.permission.entity.Function;
import com.znf4.permission.entity.Role;
import com.znf4.permission.entity.UserRole;

public interface PermissionServer {
	
    public void addUserRole(UserRole userRole) ;    // 添加用户角色关系
    
    public List<Function> queryFunctionByRoleId(Map<String, String> map )  ;  // roleId获取functions
    
    public List<Role> queryRoleByUserId(Map<String, String> map) ;  // userId获取角色
    
    
}
